package cn.edu.sdjzu.xg.eagle.JSON;

public class Condition {
    private String key;
    private String value;
    private String operator;
    public Condition() {}
    public Condition(String key,String operator,String value) {
        this.key = key;
        this.operator = operator;
        this.value = value;
    }
    public String getKey() {
        return key;

    }
    public void setKey(String key) {
        this.key = key;
    }
    public String getValue() {
        return value;
    }
    public void setValue(String value) {
        this.value = value;
    }
    public String getOperator() {
        return operator;
    }
    public void setOperator(String operator) {
        this.operator = operator;
    }
    public String toString() {
        return key+":"+operator+":"+value;
    }
}
